how display the number of occurrences of each letter in this string